export default {
    bind(){
    },
    inserted(el, binding) {
        let perVal=binding.value;
        if(perVal){
            let pers=["role_edit",'role_delete','role_permission'];
            let hasPer=pers.some(item=>{
                return item==perVal;
            })
            if(!hasPer){
                el.style.display='none'
            }
        }
    },
    update(){

    },
    // unbind(el,binding){
    //     binding.value='';
    //     el.style.display='none'
    // }
}